package com.grouplay.entity;

import java.io.Serializable;
import java.util.Date;

public class TransferRecord implements Serializable {
    private Integer id;
    private Integer sourceId;
    private String sourceName;
    private Integer targetId;
    private String targetName;
    private Integer groupId;
    private String groupName;
    private Double money;
    private Date date;
    private Integer isTransferOut;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSourceName() {
        return sourceName;
    }

    public Integer getIsTransferOut() {
        return isTransferOut;
    }

    public void setIsTransferOut(Integer isTransferOut) {
        this.isTransferOut = isTransferOut;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return "TransferRecord{" +
                "id=" + id +
                ", sourceId=" + sourceId +
                ", targetId=" + targetId +
                ", groupId=" + groupId +
                ", money=" + money +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSourceId() {
        return sourceId;
    }

    public void setSourceId(Integer sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
